package com.jiayang.hhotel.bean;

import java.io.Serializable;
import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/5/27 0027.
 * 合同房价数据类
 */

public class ContractRoomPriceModel implements IModel {


    /**
     * state : 9
     * info :
     * pTaContractRmRateListDto : [{"serial":1,"rmType":"","rmTypedescp":"","maxHouse":0,"grpRmRate":100,"grpPackages":"","grpComType":0,"grpCommission":0,"gstRmRate":200,"gstPackages":"","gstComType":0,"gstCommission":0},{"serial":2,"rmType":"","rmTypedescp":"","maxHouse":0,"grpRmRate":100,"grpPackages":"","grpComType":0,"grpCommission":0,"gstRmRate":200,"gstPackages":"","gstComType":0,"gstCommission":0},{"serial":3,"rmType":"","rmTypedescp":"","maxHouse":0,"grpRmRate":0,"grpPackages":"","grpComType":0,"grpCommission":0,"gstRmRate":0,"gstPackages":"","gstComType":0,"gstCommission":0},{"serial":4,"rmType":"","rmTypedescp":"","maxHouse":0,"grpRmRate":0,"grpPackages":"","grpComType":0,"grpCommission":0,"gstRmRate":0,"gstPackages":"","gstComType":0,"gstCommission":0}]
     */

    private int state;
    private String info;
    private List<PTaContractRmRateListDtoBean> pTaContractRmRateListDto;

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<PTaContractRmRateListDtoBean> getPTaContractRmRateListDto() {
        return pTaContractRmRateListDto;
    }

    public void setPTaContractRmRateListDto(List<PTaContractRmRateListDtoBean> pTaContractRmRateListDto) {
        this.pTaContractRmRateListDto = pTaContractRmRateListDto;
    }

    public static class PTaContractRmRateListDtoBean implements Serializable {
        /**
         * serial : 1
         * rmType :
         * rmTypedescp :
         * maxHouse : 0
         * grpRmRate : 100
         * grpPackages :
         * grpComType : 0
         * grpCommission : 0
         * gstRmRate : 200
         * gstPackages :
         * gstComType : 0
         * gstCommission : 0
         */

        private int serial;
        private String rmType;
        private String rmTypedescp;
        private int maxHouse;
        private double grpRmRate;
        private String grpPackages;
        private int grpComType;
        private double grpCommission;
        private double gstRmRate;
        private String gstPackages;
        private int gstComType;
        private double gstCommission;

        public int getSerial() {
            return serial;
        }

        public void setSerial(int serial) {
            this.serial = serial;
        }

        public String getRmType() {
            return rmType;
        }

        public void setRmType(String rmType) {
            this.rmType = rmType;
        }

        public String getRmTypedescp() {
            return rmTypedescp;
        }

        public void setRmTypedescp(String rmTypedescp) {
            this.rmTypedescp = rmTypedescp;
        }

        public int getMaxHouse() {
            return maxHouse;
        }

        public void setMaxHouse(int maxHouse) {
            this.maxHouse = maxHouse;
        }

        public double getGrpRmRate() {
            return grpRmRate;
        }

        public void setGrpRmRate(double grpRmRate) {
            this.grpRmRate = grpRmRate;
        }

        public String getGrpPackages() {
            return grpPackages;
        }

        public void setGrpPackages(String grpPackages) {
            this.grpPackages = grpPackages;
        }

        public int getGrpComType() {
            return grpComType;
        }

        public void setGrpComType(int grpComType) {
            this.grpComType = grpComType;
        }

        public double getGrpCommission() {
            return grpCommission;
        }

        public void setGrpCommission(double grpCommission) {
            this.grpCommission = grpCommission;
        }

        public double getGstRmRate() {
            return gstRmRate;
        }

        public void setGstRmRate(double gstRmRate) {
            this.gstRmRate = gstRmRate;
        }

        public String getGstPackages() {
            return gstPackages;
        }

        public void setGstPackages(String gstPackages) {
            this.gstPackages = gstPackages;
        }

        public int getGstComType() {
            return gstComType;
        }

        public void setGstComType(int gstComType) {
            this.gstComType = gstComType;
        }

        public double getGstCommission() {
            return gstCommission;
        }

        public void setGstCommission(double gstCommission) {
            this.gstCommission = gstCommission;
        }
    }
}
